package com.allqj.sfx.infrastructure.enums;

/**
 * @author sjw
 * @className StatusCodeEnum
 * @date 2022/7/19 8:49
 * @description: 状态码
 */
public enum ResultStatusCodeEnum {

    OK(1000, "成功"),
    NOT_LOGIN(1001, "请登录!"),
    ;

    private Integer code;
    private String message;

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }

    ResultStatusCodeEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
